package org.csu.agrisupply.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Date;

@Data
@TableName("form")
public class Form {
    @TableId(value = "formId",type= IdType.INPUT)
    private String formId;
    @TableField(value = "userId")
    private String userId;
    @TableField(value = "catId")
    private String catId;
    @TableField(value = "itemId")
    private String itemId;
    private String cycle;
    private int count;
    @TableField(value = "receiptAddr")
    private String receiptAddress;
    @TableField(value = "expectedAddr")
    private String expectedAddress;
    private float price;
    @TableField(value = "descn")
    private String description;
    private int offercount;
    //status:采购单状态；1代表已完成，0代表还未完成
    private int status;
    private String units;
    private Date ddl;
    private int totalcount;
}
